package com.hawk.eye.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hawk.eye.server.domain.dto.req.RepairApiReqDTO;
import com.hawk.eye.server.domain.dto.resp.RepairApiRespDTO;
import com.hawk.eye.server.domain.po.RepairApi;
import org.apache.ibatis.annotations.Param;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author salad
 * @date 2023-10-23
 */
public interface RepairApiMapper extends BaseMapper<RepairApi> {


    IPage<RepairApiRespDTO> page(IPage<RepairApi> page, @Param("params") RepairApiReqDTO reqDTO);

    RepairApiRespDTO getRepairApiByStackHash(@Param("stackHash") String stackHash);

    RepairApiRespDTO detail(@Param("id") Long id);

}
